package lab02.test13;

import javax.sound.midi.Soundbank;

public class test {
    public static void main(String[] args) {
        Gymnastics gymnastics=new Gymnastics();
        gymnastics.score1=10;
        gymnastics.score2=9;
        gymnastics.score3=7;
        gymnastics.score4=6;
        gymnastics.score5=5;
        System.out.println("去掉最高分和最低分的平均分为："+gymnastics.getaverage());
        School school=new School();
        school.comperter=67;
        school.math=90;
        school.chinese=78;
        System.out.println("平均分为："+school.getaverage());
    }
}
